package cn.iocoder.yudao.module.member.controller.admin.profit.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 系统利润明细新增/修改 Request VO")
@Data
public class ProfitSaveReqVO {
    @Schema(description = "参数主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "32169")
    private Long id;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "类型不能为空")
    private Integer type;

    @Schema(description = "价格", example = "20369")
    private BigDecimal price;

    @Schema(description = "成本", example = "15908")
    private BigDecimal costPrice;

    @Schema(description = "利润")
    private BigDecimal profit;

    @Schema(description = "年")
    private Integer year;

    @Schema(description = "月")
    private Integer month;
}
